/****************************************************************
Copyrighted (c) 2009 , Kenneth Nelson, Nick Marlow, www.kmtweb.nl
******************** Je weet zelluf *****************************

Based on Paul Houx's (droozle) masking solution found on the forums of openframeworks.cc

******************** sugar lee hooper **************************/

#ifndef OFX_SIMPLE_MASK_H
#define OFX_SIMPLE_MASK_H

#include "ofMain.h"

class ofxSimpleMask {

	public:

		void setup();
		void update();
		void draw();

		void keyPressed(int key);
		void keyReleased(int key);
		void mouseMoved(int x, int y );
		void mouseDragged(int x, int y, int button);
		void mousePressed(int x, int y, int button);
		void mouseReleased(int x, int y, int button);
		void resized(int w, int h);

		ofImage background;
		ofImage mask;
		ofImage masked;

		string maskLoader;
		//string maskedLoader;
};

#endif
